namespace ext.tree
{
	using System;
	using System.Runtime.CompilerServices;
	using System.Html;
	using System.Collections;
	
	
	/// <definedin>src\widgets\tree\AsyncTreeNode.js</definedin>
	[ScriptName("AsyncTreeNode")]
	[ScriptNamespace("Ext.tree")]
	[Imported()]
	public partial class AsyncTreeNode : ext.tree.TreeNode
	{
		
		#region Constructors
		/// <summary>Constructor</summary>
		/// <param name="attributes">The attributes/config for the node or just a string with the text for the node</param>
		public AsyncTreeNode(object attributes)
		{
		}
		
		/// <summary>Constructor</summary>
		/// <param name="attributes">The attributes/config for the node or just a string with the text for the node</param>
		public AsyncTreeNode(string attributes)
		{
		}
		
		/// <summary>Constructor</summary>
		public AsyncTreeNode()
		{
		}
		#endregion
		
		#region Fields
		/// <summary>Fires before this node is loaded, return false to cancel</summary>
		/// <definedin>src\widgets\tree\AsyncTreeNode.js</definedin>
		[ScriptName("beforeloadEventName")]
		public const string BeforeloadEventName = "beforeload";
		
		/// <summary>Fires when this node is loaded</summary>
		/// <definedin>src\widgets\tree\AsyncTreeNode.js</definedin>
		[ScriptName("loadEventName")]
		public const string LoadEventName = "load";
		#endregion
		
		#region Properties
		/// <summary>The loader used by this node (defaults to using the tree&apos;s defined loader)</summary>
		/// <definedin>src\widgets\tree\AsyncTreeNode.js</definedin>
		[ScriptName("loader")]
		[IntrinsicProperty()]
		public ext.tree.TreeLoader Loader
		{
			get
			{
				throw new System.Exception("Imported - not implemented");
			}
			set
			{
			}
		}
		#endregion
		
		#region Methods
		/// <summary>Returns true if this node is currently loading</summary>
		/// <definedin>src\widgets\tree\AsyncTreeNode.js</definedin>
		[ScriptName("isLoading")]
		public bool IsLoading()
		{
			throw new System.Exception("Imported - not implemented");
		}
		
		/// <summary>Returns true if this node has been loaded</summary>
		/// <definedin>src\widgets\tree\AsyncTreeNode.js</definedin>
		[ScriptName("isLoaded")]
		public bool IsLoaded()
		{
			throw new System.Exception("Imported - not implemented");
		}
		
		/// <summary>Trigger a reload for this node</summary>
		/// <definedin>src\widgets\tree\AsyncTreeNode.js</definedin>
		/// <param name="callback"></param>
		/// <param name="scope">The scope (<c>this</c> reference) in which the callback is executed. Defaults to this Node.</param>
		[ScriptName("reload")]
		public void Reload(System.Delegate callback, object scope)
		{
			throw new System.Exception("Imported - not implemented");
		}
		
		/// <summary>Trigger a reload for this node</summary>
		/// <definedin>src\widgets\tree\AsyncTreeNode.js</definedin>
		/// <param name="callback"></param>
		[ScriptName("reload")]
		public void Reload(System.Delegate callback)
		{
			throw new System.Exception("Imported - not implemented");
		}
		#endregion
		
		#region Events
		/// <summary>Fires before this node is loaded, return false to cancel</summary>
		/// <definedin>src\widgets\tree\AsyncTreeNode.js</definedin>
		[ScriptName("beforeload")]
		public event ext.auto.Delegate_ext_tree_AsyncTreeNode Beforeload;
		
		/// <summary>Fires when this node is loaded</summary>
		/// <definedin>src\widgets\tree\AsyncTreeNode.js</definedin>
		[ScriptName("load")]
		public event ext.auto.Delegate_ext_tree_AsyncTreeNode Load;
		#endregion
	}
}
